package com.wwinsoft.oa.entity.aftersales;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.wwinsoft.framework.entity.IdVersionEntity;

/**
 * @author: Tim Chen
 * @since 1.0
 */
@Entity
@Table(name = "T_AFTERSALES_MAINTAIN")
public class AftersalesMaintain extends IdVersionEntity {

    public static int STATUS_IN_PROGRESS = 1;
    public static int STATUS_COMPLETE = 2;
    private String title;
    private String content;
    private Date expectTime;
    private Date endTime;
    private Integer status;

    private Long createId;
    private Date createTime;
    private Integer grade;
    private String processInstanceId;
    private Date processEndTime;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getExpectTime() {
        return expectTime;
    }

    public void setExpectTime(Date expectTime) {
        this.expectTime = expectTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }
    public String getProcessInstanceId() {
        return processInstanceId;
    }
    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }
    public Date getProcessEndTime() {
        return processEndTime;
    }
    public void setProcessEndTime(Date processEndTime) {
        this.processEndTime = processEndTime;
    }
}
